package com.lzx.answer.service;

import com.lzx.answer.entity.SecondReply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzx.answer.entity.vo.NicknameVO;
import com.lzx.answer.entity.vo.OssVO;
import com.lzx.common.utils.R;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzx
 * @since 2022-10-16
 */
public interface SecondReplyService extends IService<SecondReply> {

    //保存二级回复
    R secondReply(SecondReply secondReply);

    //根据问题id获取一级和二级回复
    R getFirstAndSecondReply(Long problemId);

    //修改用户头像(问题二级回复)
    String updateAvatarToSecondReply(OssVO ossVO);

    //修改用户昵称(问题二级回复)
    String updateNicknameToSecondReply(NicknameVO nicknameVO);
}
